package com.achievement.project.system.course.domain;

import com.achievement.framework.aspectj.lang.annotation.Excel;
import com.achievement.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程管理对象 sys_course
 *
 * @author zkai
 * @date 2021-04-24
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long courseId;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private Long cTypeId;

    /** 教师 */
    @Excel(name = "教师")
    private String pId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long sId;

    /** 学生id */
    @Excel(name = "学期")
    private String semester;

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setcTypeId(Long cTypeId)
    {
        this.cTypeId = cTypeId;
    }

    public Long getcTypeId()
    {
        return cTypeId;
    }
    public void setpId(String pId)
    {
        this.pId = pId;
    }

    public String getpId()
    {
        return pId;
    }
    public void setsId(Long sId)
    {
        this.sId = sId;
    }

    public Long getsId()
    {
        return sId;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("cTypeId", getcTypeId())
            .append("pId", getpId())
            .append("sId", getsId())
            .toString();
    }
}
